import requests

class Network:
    def __init__(self):
        self.cookies = None

    def first_get(self, url, parameters = None):
        r = requests.get(url, cookies = self.cookies, params = parameters)
        self.cookies = r.cookies
        return r.text

    def get(self, url, parameters = None):
        r = requests.get(url, cookies = self.cookies, params = parameters)
        return r.text